package main;

import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;

public abstract class AbstractOpenPublicationGui extends JFrame{

	protected JButton selectButton, cancelButton;

	public AbstractOpenPublicationGui(ActionListener main){
		selectButton = new JButton();
		cancelButton = new JButton();

		selectButton.addActionListener(main);
		cancelButton.addActionListener(main);
	}

	public abstract String getSelected();
}
